package com.shopping.service;


import com.shopping.model.Car;

import java.util.List;

public interface CarService {
    void addCar(Car car) throws Exception;

    List<Car> queryCarInfo(int user_id);
    Car getCarInfoById(int user_id,int book_id);
    void updateCarCount(Car car);

    void delCarByBookId(int user_id, Integer book_id);

    Integer getCarCount(Integer user_id);

}
